package com.ruoyi.webs.unitcategory.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单位分类对象 hz_unit_category
 * 
 * @author ruoyi
 * @date 2021-10-04
 */
public class HzUnitCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String ID;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String REMARKS;

    /** 逻辑删除标记（0：显示；1：隐藏） */
    @Excel(name = "逻辑删除标记", readConverterExp = "0=：显示；1：隐藏")
    private String delFlag;

    /** 父级编号 */
    @Excel(name = "父级编号")
    private String parentId;

    /** 所有父级编号 */
    @Excel(name = "所有父级编号")
    private String parentIds;

    /** 名称 */
    @Excel(name = "名称")
    private String NAME;

    /** 排序 */
    @Excel(name = "排序")
    private String SORT;

    /** 是否为特殊单位类型（0：否；1：是），单位入会时对特殊单位进行差别对待 */
    @Excel(name = "是否为特殊单位类型", readConverterExp = "0=：否；1：是")
    private String ISSPECIAL;

    public void setID(String ID) 
    {
        this.ID = ID;
    }

    public String getID() 
    {
        return ID;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setREMARKS(String REMARKS) 
    {
        this.REMARKS = REMARKS;
    }

    public String getREMARKS() 
    {
        return REMARKS;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setParentId(String parentId) 
    {
        this.parentId = parentId;
    }

    public String getParentId() 
    {
        return parentId;
    }
    public void setParentIds(String parentIds) 
    {
        this.parentIds = parentIds;
    }

    public String getParentIds() 
    {
        return parentIds;
    }
    public void setNAME(String NAME) 
    {
        this.NAME = NAME;
    }

    public String getNAME() 
    {
        return NAME;
    }
    public void setSORT(String SORT) 
    {
        this.SORT = SORT;
    }

    public String getSORT() 
    {
        return SORT;
    }
    public void setISSPECIAL(String ISSPECIAL) 
    {
        this.ISSPECIAL = ISSPECIAL;
    }

    public String getISSPECIAL() 
    {
        return ISSPECIAL;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateBy", getUpdateBy())
            .append("updateDate", getUpdateDate())
            .append("REMARKS", getREMARKS())
            .append("delFlag", getDelFlag())
            .append("parentId", getParentId())
            .append("parentIds", getParentIds())
            .append("NAME", getNAME())
            .append("SORT", getSORT())
            .append("ISSPECIAL", getISSPECIAL())
            .toString();
    }
}
